home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / faq / comp / fonts_fa / part8 < prev    next >
Text File  |  1994-01-25  |  8KB  |  170 lines

  1. Newsgroups: comp.fonts,comp.answers,news.answers
  2. Path: bloom-beacon.mit.edu!xlink.net!howland.reston.ans.net!usenet.ins.cwru.edu!eff!news.kei.com!world!ora.com!norm
  3. From: norm@ora.com (Norman Walsh)
  4. Subject: comp.fonts FAQ: Sun Info
  5. Message-ID: <font-faq-8_759515252@ora.com>
  6. Followup-To: poster
  7. Summary: This posting answers frequently asked questions about fonts.
  8.          It addresses both general font questions and questions that
  9.          are specific to a particular platform.
  10. Sender: norm@ora.com (Norman Walsh)
  11. Supersedes: <font-faq-8_757281740@ora.com>
  12. Reply-To: norm@ora.com (Norman Walsh)
  13. Organization: O'Reilly and Associates, Inc.
  14. References: <font-faq-1_759515252@ora.com>
  15. Date: Tue, 25 Jan 1994 16:28:09 GMT
  16. Approved: news-answers-request@MIT.Edu
  17. Expires: Thu, 10 Mar 1994 16:27:32 GMT
  18. Lines: 149
  19. Xref: bloom-beacon.mit.edu comp.fonts:6518 comp.answers:3564 news.answers:14504
  20.  
  21. Archive-name: fonts-faq/part8
  22. Version: 2.0.3
  23.  
  24. Subject: 6. Sun Information
  25.   
  26.   Someone mailed a file of Sun-related font tips.  Unfortunately, I cannot
  27.   find the file.  If you have any suggestion for this section (or if you
  28.   are the person that mailed me the other list), please forward your
  29.   suggestions to norm.
  30.   
  31. Subject: 6.1. Fonts Under Open Windows
  32.   
  33.   The following information regarding fonts under Open Windows was stolen
  34.   from Liam R.E. Quin's Open Windows FAQ.  The original author was Rick
  35.   Heli.
  36.   
  37. Subject: 6.1.1. Does OpenWindows support Type 1 PostScript fonts?
  38.   
  39.   Type 1 fonts are supported starting with the NeWSprint 2.0 and Solaris
  40.   2.0 (OpenWindows 3.0.1) releases.
  41.   
  42.   There are also 57 F3 format fonts supplied with OpenWindows which are
  43.   fully hinted.  Documentation on the F3 font format and the F3 font
  44.   interpreter, TypeScaler, is available from Sun.
  45.   
  46.   The TypeScaler product is separately licensable from SunPics (the
  47.   printing arm of Sun Microsystems).  If you're interested in licensing
  48.   this product, Rick Heli can put you in touch with Marketing to work out
  49.   the arrangements.  TypeScaler does not appear as a standalone portion
  50.   of OpenWindows, though it is resident within the X11/NeWS server.
  51.   
  52. Subject: 6.1.2. Improving font rendering time
  53.   
  54.   Although the Sun type renderer (TypeScaler) is pretty fast, it's not as
  55.   fast as loading a bitmap.  You can pre-generate bitmap fonts for sizes
  56.   that you use a lot, and you can also alter and access the font cache
  57.   parameters.     If you have a lot of memory you might want to
  58.   increase the font cache size.
  59.   
  60.            $ psh -i
  61.            Welcome to X11/NeWS Version3      <--- psh will say this at you
  62.            currentfontmem =                  % type this line ...
  63.            300                                  % ... my server was using 300 Kbytes
  64.            1024 setfontmem
  65.                                              % Just to check:
  66.            currentfontmem =
  67.            1024
  68.   
  69.   See pp. 328ff of the NeWS 3.0 Programmer's Guide.  You need to say psh
  70.   -i so that the PostScript packages are loaded - see the psh man page.
  71.   
  72. Subject: 6.1.3. Making bitmap fonts for faster startup
  73.   
  74.   Sun supports the F3 scalable outline format.  These descriptions are
  75.   stored in .f3b files.  The makeafb program is used to create a bitmap
  76.   font at a particular size which is stored in a .afb file, which is an
  77.   Adobe ASCII format for font bitmaps.  X11/NeWS really prefers a binary
  78.   format though for speed and other reasons, so convertfont is used to
  79.   "compile" the font into a font binary or .fb file.
  80.   
  81.   Once this is done, X11/NeWS needs to understand the relationship between
  82.   the .f3b file and all the bitmaps which are based on it.  Thus, the
  83.   bldfamily program makes these correlations and stores the data in the
  84.   font family or .ff file.
  85.   
  86.   bldfamily also builds a global list of all fonts stored in the working
  87.   directory, writing the results out to the file Families.list.  If one
  88.   wishes to create font aliases, these can be added to the Synonyms.list
  89.   file by hand and bldfamily will then add them to Families.list for you.
  90.   X11/NeWS uses Families.list to construct the font list it advertises
  91.   to applications.
  92.   
  93.   To go from F3 to BDF, use makeafb to generate a bitmap font in .afb
  94.   format.  Then use one of convertfont's many options to change to this
  95.   to .bdf format and from there it should be clear.
  96.   
  97.          $ mkdir $HOME/myfonts
  98.          $ cd $HOME/myfonts
  99.          $ makeafb -20 -M $OPENWINHOME/lib/fonts/Bembo.f3b
  100.          Creating Bembo20.afb
  101.          $ convertfont -b Bembo20.afb
  102.          Bembo20.afb->./Bembo20.fb
  103.          Chars parameter greater than number of characters supplied.
  104.          $ ls
  105.          Bembo20.afb   Bembo20.fb      Synonyms.list
  106.          $ bldfamily
  107.          * Bembo                      ./Bembo.ff (Encoding: latin)
  108.          cat: ./Compat.list: No such file or directory
  109.          $ xset +fp `pwd`
  110.          $ xset fp rehash
  111.   
  112.   If you want the server to see your new font directory every time, add
  113.   this directory to your FONTPATH environment variable in one of your
  114.   start-up files, e.g. .login or .profile.
  115.   
  116. Subject: 6.1.4. Converting between font formats (convertfont, etc.)
  117.   
  118.   You can also use F3 fonts with an X11 server, by converting them to a
  119.   bitmap (X11 bdf format) first.  Your license restricts use of these
  120.   fonts on another machine, and unless you have NeWSPrint you shouldn't
  121.   use them for printing.  Having said all that...  you can use makeafb
  122.   and convertfont to generate bdf files that you can compile with
  123.   bdftosnf or bdftopcf.
  124.   
  125.   Use mftobdf (from the SeeTeX distribution) to convert TeX PK fonts to
  126.   X11 BDF format, which you can then use with either X11 or OpenWindows.
  127.   
  128. Subject: 6.1.5. Xview/OLIT fonts at 100 dpi
  129.   
  130.   There aren't any.  More precisely, the various text fonts, such as
  131.   Lucida Typewriter Sans, are available at 100 dpi, and in fact are
  132.   scalable under OpenWindows.  The glyph fonts are bitmaps, and don't
  133.   scale very well.
  134.   
  135. Subject: 6.2. Where can I order F3 fonts for NeWSprint and OpenWindows?
  136.   
  137.   600 F3 fonts are available for unlocking from Printer's Palette, a CD
  138.   available with NeWSprint 2.0.
  139.   
  140.   In addition, F3 fonts are available from the following sources:
  141.   
  142.          Linotype AG                     Linotype Company
  143.          Mergenthaler Allee 55-75        425 Oser Avenue
  144.          6236 Eschborn Germany           Hauppague, NY  11788
  145.          49/(61 96) 4031                    (800) 336-0045
  146.          FAX 011/49/6196-982185          FAX 516-434-2055
  147.          attn: F3 Font Production        attn: F3 Font Production
  148.        
  149.          Monotype Plc.                   Monotype Typography
  150.          Salfords Redhill RH1 5JP        53 W. Jackson Boulevard Suite 504
  151.          England                         Chicago, IL  60604
  152.          44/(737) 765959                 (800) 666-6893
  153.          FAX 011/44/737-769243           FAX (312) 939-0378
  154.          attn: F3 Font Production        attn: F3 Font Production
  155.        
  156.          U R W                           U R W
  157.          Harksheider Strasse 102         One Tara Boulevard Suite 210
  158.          D2000 Hamburg Germany           Nashua, NH  03062
  159.          49/(40) 606050                  (603) 882-7445
  160.          49/(40) 60605148                (603) 882-7210
  161.          attn: F3 Font Production        attn: F3 Font Production
  162.        
  163.          Bigelow & Holmes                Autologic
  164.          P. O. Box 1299                  1050 Rancho Conejo Boulevard
  165.          Menlo Park, CA  94026           Newbury Park, CA  91320
  166.          415/326-8973                    (800)235-1843, or (805)498-9611 in CA
  167.          FAX (415) 326-8065              FAX (805) 499-1167
  168.          attn: F3 Font Production        attn: F3 Font Production
  169.   
  170.